package org.jeecg.modules.wxhtml.service;

import org.jeecg.modules.wxhtml.response.RefreshResponse;
import org.jeecg.modules.wxhtml.response.TokenResponse;
import org.jeecg.modules.wxhtml.response.UserInfoResponse;

public interface WxHtmlService {

    TokenResponse getAccessToken(String code);

    RefreshResponse refreshToken(String refreshToken);

    UserInfoResponse snsApiUserinfo(String accessToken, String openid);

    boolean auth(String accessToken, String openid);

}
